package com.training.collection.section9;

import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;

public class HashTableDemo {

	public static void main(String[] args) {
		Map<String, Integer> map = new Hashtable<>();
		map.put(null, 1);

		System.out.println(map);

		Map<String, Integer> map2 = new HashMap<>();
		map2.put(null, 1);

		System.out.println(map2);

	}

}
